<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>系统提示</title>
<style>
 /* reset.css ---begin */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,textarea,p,blockquote,th,td {margin:0;padding:0;}
table {border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var {font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
q:before,q:after {content:'';}
abbr,acronym { border:0;}
html,body{font-size:12px;font-family:'微软雅黑',Arial,Helvetica,sans-serif;}
/* reset.css ---end */

.main{
margin:100px auto;
width:500px;
overflow:hidden;
}
.top{
background:url(/misc/images/errorpage/error_top.gif) left top no-repeat;
height:25px;
line-height:25px;
width:500px;
position:relative;
color:#666666;
padding-left:10px;
font-weight:bold;
}
.content{
overflow:hidden;
border:1px solid #BCC6D7;
border-bottom:0px;
padding:20px;
position:relative;
}
table.content_tb{
width:100%;
border-collapse:collapse;
}
table.content_tb td{
vertical-align:top;
text-align:left;
}
 
.error_str{
color:#333333;
font-weight:bold;
font-size:14px;
margin-bottom:10px;
}
table.content_tb td a{
color:#999999;
text-decoration:none;
cursor:pointer;
}
table.content_tb td a:hover{
text-decoration:underline;
}
#timer{
color:#990000;
font-size:18px;
font-weight:bold;
border:2px;
}
.bottom{
background:url(/misc/images/errorpage/error_bottom.gif) left top no-repeat;
height:87px;
line-height:87px;
width:500px;
}
</style>
<script language="javascript">
var now = 0;
var timename = setInterval("msgboxfunc()", 1000 );
function msgboxfunc(){
	//更新提示秒数
	var cur = document.getElementById('timer').innerHTML;
	cur = cur - 1;
	document.getElementById('timer').innerHTML = cur;
	now++;
	var run = <?=$time?>;
	if(run == 0){
		<?=$gotourl_js?>
		;clearInterval(timename);
	}else{
		if(now == run){
			<?=$gotourl_js?>
			;clearInterval(timename);
		}	
	}	
}
window.onload = function(){
	document.getElementById('mybaby').focus();
}
</script>
</head>
<body style="background-color:#FFFFFF">

<div class="main">
	<div class="top">
		系统提示
	</div>
	<div class="content">
		<table class="content_tb" border="0">
			<tr>
				<td style="width:50px;">
					<img src="/misc/images/errorpage/error_logo.gif" />
				</td>
				<td>
					<div class="error_str"><?=$error?></div>
					<div>
						<a href="<?=$gotourl?>" id="mybaby" >
						<?php
							echo '若您的浏览器'.$time.'秒后没有自动跳转，请点击这里...';
						?>
						</a>
						<span id="timer" style="cursor:hand;pointer:hand;"><?=$time?></span>
					</div>
				</td>
			</tr>
		</table>
	</div>
	<div class="bottom"> </div>
</div>
 

</body>
</html>
